a = 1
b = 2
s1 = 0
s2 = 0
while a < 966:
    s1 = s1 + a
    a = a + 2
while b <= 966:
    s2 = s2 + b
    b = b + 2
all = s1-s2
print(all)